package com.zhuky.service.impl;

import com.zhuky.dao.SysUserMapper;
import com.zhuky.entity.SysUser;
import com.zhuky.service.SysUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Resource
    private SysUserMapper sysUserMapper;
    @Override
    public SysUser selectByLoginName(String loginName) {
        return sysUserMapper.selectByLoginName(loginName);
    }
}
